<template>
  <div>
    <!-- 绑定 自定义事件  -->
    <BaseModal :aaa="show" @ddddd="onClose"></BaseModal>
  </div>
</template>

<script>
import BaseModal from "@/components/BaseModal.vue";
export default {
  data() {
    return {
      show: true,
    };
  },
  components: { BaseModal },
  methods: {
    onClose(hide) {
      this.show = hide;
    },
  },
};
</script>

<style></style>
